﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BookTransactionControllers.Services;
using BookTransactionControllers.Connection;
using BookTransactionModels;
using System.Data.SqlClient;
using System.Data;

namespace BookTransactionControllers.Services_Impl
{
    public class BookManagerImpl : IBookServices, IMainServices
    {
        public bool Insert(BookBean book)
        {
            throw new NotImplementedException();
        }

        public bool Delete(SqlCommand command)
        {
            throw new NotImplementedException();
        }

        public DataTable SelectTable(SqlCommand command, String tblName)
        {
            DataTable tblBook = new DataTable(tblName);
            tblBook = Connect.ExcuteQuery(command, tblName);
            return tblBook;
        }

        public bool Update(SqlCommand command)
        {
            throw new NotImplementedException();
        }
    }
}
